/*
 * @Description: 秋
 * @Author: hwh
 * @Date: 2024-09-03 19:46:21
 * @LastEditors: hwh
 * @LastEditTime: 2024-09-03 20:21:21
 */
public class Test12_PrimeFactorization{
    public static void main(String[] args){
        Scanner sc =new Scanner(System.in);
        int a=sc.nextInt();
        if(a>15||a<0){
            System.out.println("输出不合法");
        }else{
            System.out.print(a+"=");
            int n = a;
            for(int i = 2;i<=n;i++){
            while(n%i==0){
            System.out.print(i);
            n = n/i;
            if(n>1){
            System.out.print("*");
                    }
    }
}